<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
<body>
<ui:composition template="/templates/template.xhtml">
<ui:define name="body">
<h:form name="loginFormalt">
    <h:outputLabel value="#{autorization.avtorizlabel}"/>
    <h:panelGrid columns="2">
        <h:outputLabel id="userNameLabelalt" value="#{autorization.loginlabel}"/>
        <h:inputText id="j_usernamealt" value="#{autenticbean.login}" autocomplete="off" required="true" requiredMessage="#{validationmessages.loginalert}">
        </h:inputText>
        <h:outputLabel id="passwordLabelalt" value="#{autorization.passlabel}"/>
        <h:inputSecret id="j_passwordalt" value="#{autenticbean.password}" autocomplete="off"/>
        <h:panelGroup>
            <h:commandButton action="#{autenticbean.autenticLoginAndPass}" value="#{autorization.enter}"/>
        </h:panelGroup>
    </h:panelGrid>
    <h:message for="j_usernamealt"  showDetail="true" errorStyle="color:red"/>
</h:form>
</ui:define>
</ui:composition>
</body>
</html>